import Vue from 'vue'
import VueRouter from 'vue-router'
// import Home from '../views/Home.vue'
import MainPage from '../components/main/mainpage.vue'

Vue.use(VueRouter)

const routes = [
  { path: '/mainpage', name: 'MainPage', component: MainPage }
  // {path: '/login',name: 'login',component: Login},
]

const router = new VueRouter({
  routes
})

export default router
